package geektime.spring.springbucks.waiter.mapper;

import geektime.spring.springbucks.waiter.model.CoffeeOrder;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CoffeeOrderMapper {

    CoffeeOrder getOne(Long id);

    int save(CoffeeOrder order);

    int updateOrderState(CoffeeOrder order);

    int deleteOrder(CoffeeOrder order);

}
